<#macro head>
<div class="navbar navbar-default" id="navbar">
    <script type="text/javascript">
        try {
            ace.settings.check('navbar', 'fixed')
        } catch (e) {
        }
    </script>

    <div class="navbar-container" id="navbar-container">
        <div class="navbar-header pull-left">
            <a href="#" class="navbar-brand"> <small> <i
                    class="icon-leaf"></i> 巨海后台管理系统 </small> </a>
            <!-- /.brand -->
        </div>
        <!-- /.navbar-header -->
        <div class="navbar-header pull-right" role="navigation">
            <ul class="nav ace-nav">

                <li class="light-blue"><a data-toggle="dropdown" href="#"
                                          class="dropdown-toggle"> <img class="nav-user-photo"
                                                                        src="/assets/avatars/user.jpg"
                                                                        alt="Jason's Photo" /> <span class="user-info"> <small>欢迎光临,</small>
                ${userinfo.name} </span> <i class="icon-caret-down"></i> </a>

                    <ul
                            class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
                        <li><a href="/admin/website_edit.action"> <i class="icon-cog"></i> 设置 </a>
                        </li>

                        <li><a href="/admin/userinfo.jsp"> <i class="icon-user"></i> 个人资料 </a>
                        </li>

                        <li class="divider"></li>

                        <li><a href="/admin/logout"> <i class="icon-off"></i> 退出 </a>
                        </li>
                    </ul>
                </li>
            </ul>
            <!-- /.ace-nav -->
        </div>
        <!-- /.navbar-header -->
    </div>
    <!-- /.container -->
</div>
</#macro>